package com.shanzmoo.job;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 定时任务引导类
 *
 * @author： Gzhao 2021/1/31
 */
@Slf4j
@EnableTransactionManagement
@MapperScan("com.shanzmoo.db.*.mapper")
@SpringBootApplication(scanBasePackages = {"com.shanzmoo.db", "com.shanzmoo.job", "com.shanzmoo.core"})
public class JobApplication {

    public static void main(String[] args) {
        SpringApplication.run(JobApplication.class, args);
        log.info("================= Job start finish!!! ===============");
    }
}
